<template>
  <div class="background">
    <HeaderTemplate />
    <FromBox :checked="ischecked" v-on:checkedFun="checkedFun($event)">
      <template v-slot:title>
        <div class="from-title">
          <span>旅行社</span>
          <span>注册账号</span>
        </div>
      </template>
    </FromBox>
    <BottomTemplate />
  </div>
</template>

<script>
import "@/global-style/style.less";
import BottomTemplate from "@/components/BottomTemplate.vue";
import HeaderTemplate from "@/components/HeaderTemplate.vue";
import FromBox from "@/components/FromBox.vue";
import register_mixin from "@/mixins/register_mixin.js";

export default {
  components: { BottomTemplate, HeaderTemplate, FromBox },
  mixins: [register_mixin],
  data() {
    return {
      phone: false,
      password: false,
      verify: false,
      ischecked: false,
      requestBtn: false,
      // 需要提交的表单数据
      loginForm: {
        phone: "",
        password: "",
        code: "",
        invite_code: "",
      },
    };
  },
  methods: {
    submitBtn() {},
    checkedFun(event) {
      // console.log(event);
      this.ischecked = event;
    },
  },
};
</script>

<style lang='less' scoped>
div.container {
  // margin-top: 50px;
  height: 98vh;
  width: 100%;
  background-color: #f1f4f6;
}
</style>